tools/hotplug: cleanup Makefiles
authorAnthony PERARD <anthony.perard@citrix.com>
Mon, 15 Aug 2022 06:55:19 +0000 (08:55 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 15 Aug 2022 06:55:19 +0000 (08:55 +0200)
commit290a9b91d9c6411b97d0fef9fcdbf93d125071d3
tree13a5cef0a1ebad22eb80feab21dcd020933a2d19
parent2d696fc3d02c9e7246f58d4199cb4ec4fd597fd1
tools/hotplug: cleanup Makefiles

Remove "build" targets.

Use simply expanded variables when recursively expanded variable
aren't needed. (Use ":=" instead of "=".)

Don't check if a directory already exist when installing, just create
it.

Fix $(HOTPLUGPATH), it shouldn't have any double-quote.

Some reindentation.

FreeBSD, "hotplugpath.sh" is already installed by common/.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Luca Fancellu <luca.fancellu@arm.com>
tools/hotplug/FreeBSD/Makefile
tools/hotplug/Linux/Makefile
tools/hotplug/Linux/systemd/Makefile
tools/hotplug/NetBSD/Makefile
tools/hotplug/common/Makefile